import request from '@/utils/request'

// 资产合计分页
export function getList(params) {
  return request({
    url: '/management/administrative/assetDetails/selectPage',
    method: 'POST',
    params
  })
}

// 资产合计添加
export function insertAssetDetails(data) {
  return request({
    url: '/management/administrative/assetDetails/insert',
    method: 'POST',
    data
  })
}

// 资产合计修改查询
export function selectAssetDetails(params) {
  return request({
    url: '/management/administrative/assetDetails/findId',
    method: 'POST',
    params
  })
}

// 资产合计删除
export function delAssetDetails(data) {
  return request({
    url: '/management/administrative/assetDetails/del',
    method: 'post',
    data
  })
}

// 资产合计修改
export function updateAssetDetails(data) {
  return request({
    url: '/management/administrative/assetDetails/update',
    method: 'post',
    data
  })
}

// 资产合计分布详情查询
export function getDistribute(params) {
  return request({
    url: '/management/administrative/areaProperty/selectDistribute',
    method: 'post',
    params
  })
}

